package com.wxq.member.feign;

import com.wxq.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wxq
 * @email: 2982877319@qq.com
 */
@FeignClient("yomall-coupon")
public interface CouPonFeignService {

    /**
     *调用coupon远程服务
     * 直接拷贝服务上的签名
     * @param id
     * @return
     */
    @RequestMapping("/coupon/coupon/info/{id}")
    public R info(@PathVariable("id")Long id);
}
